				<div class="section">
                <script type="text/javascript">
					function check(){
						if(document.sac.region_title.value == ""){
							alert("Please enter region title!");
							document.sac.region_title.focus();
							return false;
						}
						if(isNaN(document.sac.region_order.value)){
							alert("Only number order by!");
							document.sac.region_order.focus();
							return false;
						}else{
							return true;
						}
					}
				</script>
					<!--[if !IE]>start title wrapper<![endif]-->
					<div class="title_wrapper">
						<span class="title_wrapper_top"></span>
						<div class="title_wrapper_inner">
							<span class="title_wrapper_middle"></span>
							<div class="title_wrapper_content">
								<h2 class="menu_title">Edit region</h2>
							</div>
						</div>
						<span class="title_wrapper_bottom"></span>
					</div>
					<!--[if !IE]>end title wrapper<![endif]-->
					
					<!--[if !IE]>start section content<![endif]-->
					<div class="section_content">
						<span class="section_content_top"></span>
						
						<div class="section_content_inner minheight">
                        	<div class="table_tabs_menu">
							<!--[if !IE]>start  tabs<![endif]-->
							<!--[if !IE]>end  tabs<![endif]-->

							</div>
				<!--[if !IE]>start table_wrapper<![endif]-->
							<div class="table_wrapper" style="background:none;">
								<div class="table_wrapper_inner">
                                	<div class="error_red"><?php if(isset($error)) { echo "<p>".$error."</p>"; } ?></div>
                                    <form action="<?php echo base_url()?>admin/regions/update/<?php echo $getdata['region_id']?>" method="post" name="sac" onsubmit="return check()" enctype="multipart/form-data">
                                    	 <div class="form_items">
                                    		<div class="form_items_left">Region title</div>
                                        	<div class="form_items_right"><input name="region_title" type="text" value="<?php echo $getdata['region_title']?>" size="35"></div>
                                   		 </div>
                                        <div class="form_items">
                                            <div class="form_items_left">Hide</div>
                                            <div class="form_items_right">
                                                <input type="checkbox" value="1" name="region_hide" <?php if($getdata['region_hide'] == 1){ echo "checked='checked'";} ?> />Yes
                                            </div>
                                        </div>
                                        <div class="form_items">
                                            <div class="form_items_left">Menu of Schedule ?</div>
                                            <div class="form_items_right">
                                                <input type="radio" value="1" name="region_show" <?php if($getdata['region_show'] == 1){ echo "checked='checked'";} ?> />Yes
                                                <input type="radio" value="0" name="region_show" <?php if($getdata['region_show'] == 0){ echo "checked='checked'";} ?> />No
                                            </div>
                                        </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Region image</div>
                                        	<div class="form_items_right">
                                            	<?php
												if($getdata['region_image'] != NULL){
													echo "<img src='".base_url()."uploads/regions/thumb/".$getdata['region_image']."' width='120' />";
												}
												?>
                                            	<input name="region_img" type="file" size="35">
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Order by</div>
                                        	<div class="form_items_right"><input name="region_order" type="text" value="<?php echo $getdata['region_order']?>" size="35"></div>
                                   		 </div>
                                        <div class="form_items">
                                            <div class="form_items_left">Description</div>
                                            <div class="form_items_right">
                                                <?php
                                                $fck = new FCKeditor('region_des');
                                                $fck->BasePath = sBASEPATH;
                                                $fck->Value  = $getdata['region_des'];
                                                $fck->Width  = '100%';
                                                $fck->Height = 400;
                                                $fck->Create();
                                                ?>
                                            </div>
                                        </div
                                         ><div class="form_items">
                                    		<div class="form_items_left">&nbsp;</div>
                                        	<div class="form_items_right"><input type="submit" name="ok" id="ok" value="Edit region" class="magin"></div>
                                   		 </div>
                                    </form>
								</div>
							</div>
							<!--[if !IE]>end table_wrapper<![endif]-->
						</div>
						<span class="section_content_bottom"></span>
					</div>
					<!--[if !IE]>end section content<![endif]-->
				</div>